package com.xtpt.disaster.service;

import com.xtpt.disaster.bean.JobDetail;
import com.xtpt.disaster.common.PortalResult;
import org.springframework.boot.autoconfigure.batch.BatchProperties;

import java.util.List;


public interface DBMysqlJobDetailService {
    int deleteByPrimaryKey(Long jobId);

    int insert(JobDetail record);

    /**
     * @Description: 记录存在则更新，不存在则插入
     * @Author: hpc
     * @Date: 2021/12/27 上午 11:23
     * @param record:
     * @return: int
     **/
    int insertOrUpdate(JobDetail record);

    PortalResult insertSelective(JobDetail record);

    JobDetail selectByPrimaryKey(Long jobId);

    int updateByPrimaryKeySelective(JobDetail record);

    int updateByPrimaryKey(JobDetail record);

    List<JobDetail> selectJobByCon(JobDetail jobDetail);

    List<JobDetail> selectAllJobDetail();
}
